# 全局通用配置
class Config(object):
    db_url = "mysql+pymysql://root:wtoe_123456...@8.130.44.150:1688/blog"


# 测试环境
class TestConfig(Config):
    if_echo = True


class ProductionConfig(Config):
    if_echo = False


config = {
    "test": TestConfig,
    "prop": ProductionConfig,
}
